#!/usr/bin/python3
# -*- coding: utf-8 -*-

from .common.logs import CustomLogger
logger = CustomLogger()

from .calldb import DBMap
db_enter = DBMap().get_enter
db_query = DBMap().get_query

from .callsend import TalkMap
send = TalkMap().get_send

from .talk.ding import DingTalk
ding=DingTalk()
from .talk.feishu import FeiShuTalk
feishu=FeiShuTalk()


from .common.moment import CustomEpoch
epochCertExpire = CustomEpoch().get_cert_expire
epochDomainExpire = CustomEpoch().get_domain_expire
epochExpire = CustomEpoch().get_expire_date
is_holiday = CustomEpoch().is_legal_holiday()
is_first_month = CustomEpoch().is_month_first_day()
is_first_monday = CustomEpoch().is_monday()
# today = CustomEpoch().get_today()

from .domain.cert import CustomSSL
certExpire = CustomSSL().get_cert_expire

from .domain.whois import CustomWhois
domainExpire = CustomWhois().get_domain_expire
